{% extends "base.html" %}

{% block content %}
<div class="container">
    <div class="row mb-4 fade-in">
        <div class="col">
            <h3 class="display-4 fw-bold text-primary mb-0">Project Manage</h3>
            <p class="text-secondary mb-0">manage your documents by project</p>
        </div>
    </div>
    <div class="modules">
        {% for item in result %}
            <div class="module"><a href="/showfile_project?project_id={{item.id}}"> {{item.project_name}} </a></div>
        {% endfor %}
        {% if session.get("user_info").get("role")==0 %}
            <div class="module"><a href="/common/team/showfiles/{{ item }}"> <i class="bi bi-plus-lg"></i> </a></div>
        {% endif %}
    </div>
</div>
{% endblock %}

